package com.sansan.qiangji.entity.warehouse.example;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @author tools.49db.cn
 * @version 1.0
 * @date 2020-11-05
 */
public class PushOrderDetailExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;



    public PushOrderDetailExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }


    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andPushOrderDetailIdIsNull() {
            addCriterion("push_order_detail_id is null");
            return (Criteria) this;
        }

        public Criteria andPushOrderDetailIdIsNotNull() {
            addCriterion("push_order_detail_id is not null");
            return (Criteria) this;
        }

        public Criteria andPushOrderDetailIdEqualTo(Integer value) {
            addCriterion("push_order_detail_id =", value, "pushOrderDetailId");
            return (Criteria) this;
        }

        public Criteria andPushOrderDetailIdNotEqualTo(Integer value) {
            addCriterion("push_order_detail_id <>", value, "pushOrderDetailId");
            return (Criteria) this;
        }

        public Criteria andPushOrderDetailIdGreaterThan(Integer value) {
            addCriterion("push_order_detail_id >", value, "pushOrderDetailId");
            return (Criteria) this;
        }

        public Criteria andPushOrderDetailIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("push_order_detail_id >=", value, "pushOrderDetailId");
            return (Criteria) this;
        }

        public Criteria andPushOrderDetailIdLessThan(Integer value) {
            addCriterion("push_order_detail_id <", value, "pushOrderDetailId");
            return (Criteria) this;
        }

        public Criteria andPushOrderDetailIdLessThanOrEqualTo(Integer value) {
            addCriterion("push_order_detail_id <=", value, "pushOrderDetailId");
            return (Criteria) this;
        }

        public Criteria andPushOrderDetailIdIn(List<Integer> values) {
            addCriterion("push_order_detail_id in", values, "pushOrderDetailId");
            return (Criteria) this;
        }

        public Criteria andPushOrderDetailIdNotIn(List<Integer> values) {
            addCriterion("push_order_detail_id not in", values, "pushOrderDetailId");
            return (Criteria) this;
        }

        public Criteria andPushOrderDetailIdBetween(Integer value1, Integer value2) {
            addCriterion("push_order_detail_id between", value1, value2, "pushOrderDetailId");
            return (Criteria) this;
        }

        public Criteria andPushOrderDetailIdNotBetween(Integer value1, Integer value2) {
            addCriterion("push_order_detail_id not between", value1, value2, "pushOrderDetailId");
            return (Criteria) this;
        }


        public Criteria andCreateTimeIsNull() {
            addCriterion("`create_time` is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("`create_time` is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("`create_time` =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("`create_time` <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("`create_time` >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("`create_time` >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("`create_time` <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("`create_time` <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("`create_time` in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("`create_time` not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("`create_time` between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("`create_time` not between", value1, value2, "createTime");
            return (Criteria) this;
        }


        public Criteria andPushOrderDetailCodeIsNull() {
            addCriterion("push_order_detail_code is null");
            return (Criteria) this;
        }

        public Criteria andPushOrderDetailCodeIsNotNull() {
            addCriterion("push_order_detail_code is not null");
            return (Criteria) this;
        }

        public Criteria andPushOrderDetailCodeEqualTo(String value) {
            addCriterion("push_order_detail_code =", value, "pushOrderDetailCode");
            return (Criteria) this;
        }

        public Criteria andPushOrderDetailCodeNotEqualTo(String value) {
            addCriterion("push_order_detail_code <>", value, "pushOrderDetailCode");
            return (Criteria) this;
        }

        public Criteria andPushOrderDetailCodeGreaterThan(String value) {
            addCriterion("push_order_detail_code >", value, "pushOrderDetailCode");
            return (Criteria) this;
        }

        public Criteria andPushOrderDetailCodeGreaterThanOrEqualTo(String value) {
            addCriterion("push_order_detail_code >=", value, "pushOrderDetailCode");
            return (Criteria) this;
        }

        public Criteria andPushOrderDetailCodeLessThan(String value) {
            addCriterion("push_order_detail_code <", value, "pushOrderDetailCode");
            return (Criteria) this;
        }

        public Criteria andPushOrderDetailCodeLessThanOrEqualTo(String value) {
            addCriterion("push_order_detail_code <=", value, "pushOrderDetailCode");
            return (Criteria) this;
        }

        public Criteria andPushOrderDetailCodeLike(String value) {
            addCriterion("push_order_detail_code like", value, "pushOrderDetailCode");
            return (Criteria) this;
        }

        public Criteria andPushOrderDetailCodeNotLike(String value) {
            addCriterion("push_order_detail_code not like", value, "pushOrderDetailCode");
            return (Criteria) this;
        }

        public Criteria andPushOrderDetailCodeIn(List<String> values) {
            addCriterion("push_order_detail_code in", values, "pushOrderDetailCode");
            return (Criteria) this;
        }

        public Criteria andPushOrderDetailCodeNotIn(List<String> values) {
            addCriterion("push_order_detail_code not in", values, "pushOrderDetailCode");
            return (Criteria) this;
        }

        public Criteria andPushOrderDetailCodeBetween(String value1, String value2) {
            addCriterion("push_order_detail_code between", value1, value2, "pushOrderDetailCode");
            return (Criteria) this;
        }

        public Criteria andPushOrderDetailCodeNotBetween(String value1, String value2) {
            addCriterion("push_order_detail_code not between", value1, value2, "pushOrderDetailCode");
            return (Criteria) this;
        }

        public Criteria andPushOrderCodeIsNull() {
            addCriterion("push_order_code is null");
            return (Criteria) this;
        }

        public Criteria andPushOrderCodeIsNotNull() {
            addCriterion("push_order_code is not null");
            return (Criteria) this;
        }

        public Criteria andPushOrderCodeEqualTo(String value) {
            addCriterion("push_order_code =", value, "pushOrderCode");
            return (Criteria) this;
        }

        public Criteria andPushOrderCodeNotEqualTo(String value) {
            addCriterion("push_order_code <>", value, "pushOrderCode");
            return (Criteria) this;
        }

        public Criteria andPushOrderCodeGreaterThan(String value) {
            addCriterion("push_order_code >", value, "pushOrderCode");
            return (Criteria) this;
        }

        public Criteria andPushOrderCodeGreaterThanOrEqualTo(String value) {
            addCriterion("push_order_code >=", value, "pushOrderCode");
            return (Criteria) this;
        }

        public Criteria andPushOrderCodeLessThan(String value) {
            addCriterion("push_order_code <", value, "pushOrderCode");
            return (Criteria) this;
        }

        public Criteria andPushOrderCodeLessThanOrEqualTo(String value) {
            addCriterion("push_order_code <=", value, "pushOrderCode");
            return (Criteria) this;
        }

        public Criteria andPushOrderCodeLike(String value) {
            addCriterion("push_order_code like", value, "pushOrderCode");
            return (Criteria) this;
        }

        public Criteria andPushOrderCodeNotLike(String value) {
            addCriterion("push_order_code not like", value, "pushOrderCode");
            return (Criteria) this;
        }

        public Criteria andPushOrderCodeIn(List<String> values) {
            addCriterion("push_order_code in", values, "pushOrderCode");
            return (Criteria) this;
        }

        public Criteria andPushOrderCodeNotIn(List<String> values) {
            addCriterion("push_order_code not in", values, "pushOrderCode");
            return (Criteria) this;
        }

        public Criteria andPushOrderCodeBetween(String value1, String value2) {
            addCriterion("push_order_code between", value1, value2, "pushOrderCode");
            return (Criteria) this;
        }

        public Criteria andPushOrderCodeNotBetween(String value1, String value2) {
            addCriterion("push_order_code not between", value1, value2, "pushOrderCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeIsNull() {
            addCriterion("product_code is null");
            return (Criteria) this;
        }

        public Criteria andProductCodeIsNotNull() {
            addCriterion("product_code is not null");
            return (Criteria) this;
        }

        public Criteria andProductCodeEqualTo(String value) {
            addCriterion("product_code =", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeNotEqualTo(String value) {
            addCriterion("product_code <>", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeGreaterThan(String value) {
            addCriterion("product_code >", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeGreaterThanOrEqualTo(String value) {
            addCriterion("product_code >=", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeLessThan(String value) {
            addCriterion("product_code <", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeLessThanOrEqualTo(String value) {
            addCriterion("product_code <=", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeLike(String value) {
            addCriterion("product_code like", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeNotLike(String value) {
            addCriterion("product_code not like", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeIn(List<String> values) {
            addCriterion("product_code in", values, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeNotIn(List<String> values) {
            addCriterion("product_code not in", values, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeBetween(String value1, String value2) {
            addCriterion("product_code between", value1, value2, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeNotBetween(String value1, String value2) {
            addCriterion("product_code not between", value1, value2, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductNameIsNull() {
            addCriterion("product_name is null");
            return (Criteria) this;
        }

        public Criteria andProductNameIsNotNull() {
            addCriterion("product_name is not null");
            return (Criteria) this;
        }

        public Criteria andProductNameEqualTo(String value) {
            addCriterion("product_name =", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameNotEqualTo(String value) {
            addCriterion("product_name <>", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameGreaterThan(String value) {
            addCriterion("product_name >", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameGreaterThanOrEqualTo(String value) {
            addCriterion("product_name >=", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameLessThan(String value) {
            addCriterion("product_name <", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameLessThanOrEqualTo(String value) {
            addCriterion("product_name <=", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameLike(String value) {
            addCriterion("product_name like", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameNotLike(String value) {
            addCriterion("product_name not like", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameIn(List<String> values) {
            addCriterion("product_name in", values, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameNotIn(List<String> values) {
            addCriterion("product_name not in", values, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameBetween(String value1, String value2) {
            addCriterion("product_name between", value1, value2, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameNotBetween(String value1, String value2) {
            addCriterion("product_name not between", value1, value2, "productName");
            return (Criteria) this;
        }


        public Criteria andBoxDetailCodeIsNull() {
            addCriterion("box_detail_code is null");
            return (Criteria) this;
        }

        public Criteria andBoxDetailCodeIsNotNull() {
            addCriterion("box_detail_code is not null");
            return (Criteria) this;
        }

        public Criteria andBoxDetailCodeEqualTo(String value) {
            addCriterion("box_detail_code =", value, "boxDetailCode");
            return (Criteria) this;
        }

        public Criteria andBoxDetailCodeNotEqualTo(String value) {
            addCriterion("box_detail_code <>", value, "boxDetailCode");
            return (Criteria) this;
        }

        public Criteria andBoxDetailCodeGreaterThan(String value) {
            addCriterion("box_detail_code >", value, "boxDetailCode");
            return (Criteria) this;
        }

        public Criteria andBoxDetailCodeGreaterThanOrEqualTo(String value) {
            addCriterion("box_detail_code >=", value, "boxDetailCode");
            return (Criteria) this;
        }

        public Criteria andBoxDetailCodeLessThan(String value) {
            addCriterion("box_detail_code <", value, "boxDetailCode");
            return (Criteria) this;
        }

        public Criteria andBoxDetailCodeLessThanOrEqualTo(String value) {
            addCriterion("box_detail_code <=", value, "boxDetailCode");
            return (Criteria) this;
        }

        public Criteria andBoxDetailCodeLike(String value) {
            addCriterion("box_detail_code like", value, "boxDetailCode");
            return (Criteria) this;
        }

        public Criteria andBoxDetailCodeNotLike(String value) {
            addCriterion("box_detail_code not like", value, "boxDetailCode");
            return (Criteria) this;
        }

        public Criteria andBoxDetailCodeIn(List<String> values) {
            addCriterion("box_detail_code in", values, "boxDetailCode");
            return (Criteria) this;
        }

        public Criteria andBoxDetailCodeNotIn(List<String> values) {
            addCriterion("box_detail_code not in", values, "boxDetailCode");
            return (Criteria) this;
        }

        public Criteria andBoxDetailCodeBetween(String value1, String value2) {
            addCriterion("box_detail_code between", value1, value2, "boxDetailCode");
            return (Criteria) this;
        }

        public Criteria andBoxDetailCodeNotBetween(String value1, String value2) {
            addCriterion("box_detail_code not between", value1, value2, "boxDetailCode");
            return (Criteria) this;
        }

        public Criteria andProductPushPaceIsNull() {
            addCriterion("product_push_pace is null");
            return (Criteria) this;
        }

        public Criteria andProductPushPaceIsNotNull() {
            addCriterion("product_push_pace is not null");
            return (Criteria) this;
        }

        public Criteria andProductPushPaceEqualTo(String value) {
            addCriterion("product_push_pace =", value, "productPushPace");
            return (Criteria) this;
        }

        public Criteria andProductPushPaceNotEqualTo(String value) {
            addCriterion("product_push_pace <>", value, "productPushPace");
            return (Criteria) this;
        }

        public Criteria andProductPushPaceGreaterThan(String value) {
            addCriterion("product_push_pace >", value, "productPushPace");
            return (Criteria) this;
        }

        public Criteria andProductPushPaceGreaterThanOrEqualTo(String value) {
            addCriterion("product_push_pace >=", value, "productPushPace");
            return (Criteria) this;
        }

        public Criteria andProductPushPaceLessThan(String value) {
            addCriterion("product_push_pace <", value, "productPushPace");
            return (Criteria) this;
        }

        public Criteria andProductPushPaceLessThanOrEqualTo(String value) {
            addCriterion("product_push_pace <=", value, "productPushPace");
            return (Criteria) this;
        }

        public Criteria andProductPushPaceLike(String value) {
            addCriterion("product_push_pace like", value, "productPushPace");
            return (Criteria) this;
        }

        public Criteria andProductPushPaceNotLike(String value) {
            addCriterion("product_push_pace not like", value, "productPushPace");
            return (Criteria) this;
        }

        public Criteria andProductPushPaceIn(List<String> values) {
            addCriterion("product_push_pace in", values, "productPushPace");
            return (Criteria) this;
        }

        public Criteria andProductPushPaceNotIn(List<String> values) {
            addCriterion("product_push_pace not in", values, "productPushPace");
            return (Criteria) this;
        }

        public Criteria andProductPushPaceBetween(String value1, String value2) {
            addCriterion("product_push_pace between", value1, value2, "productPushPace");
            return (Criteria) this;
        }

        public Criteria andProductPushPaceNotBetween(String value1, String value2) {
            addCriterion("product_push_pace not between", value1, value2, "productPushPace");
            return (Criteria) this;
        }

        public Criteria andPushOrderCountIsNull() {
            addCriterion("push_order_count is null");
            return (Criteria) this;
        }

        public Criteria andPushOrderCountIsNotNull() {
            addCriterion("push_order_count is not null");
            return (Criteria) this;
        }

        public Criteria andPushOrderCountEqualTo(Integer value) {
            addCriterion("push_order_count =", value, "pushOrderCount");
            return (Criteria) this;
        }

        public Criteria andPushOrderCountNotEqualTo(Integer value) {
            addCriterion("push_order_count <>", value, "pushOrderCount");
            return (Criteria) this;
        }

        public Criteria andPushOrderCountGreaterThan(Integer value) {
            addCriterion("push_order_count >", value, "pushOrderCount");
            return (Criteria) this;
        }

        public Criteria andPushOrderCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("push_order_count >=", value, "pushOrderCount");
            return (Criteria) this;
        }

        public Criteria andPushOrderCountLessThan(Integer value) {
            addCriterion("push_order_count <", value, "pushOrderCount");
            return (Criteria) this;
        }

        public Criteria andPushOrderCountLessThanOrEqualTo(Integer value) {
            addCriterion("push_order_count <=", value, "pushOrderCount");
            return (Criteria) this;
        }

        public Criteria andPushOrderCountIn(List<Integer> values) {
            addCriterion("push_order_count in", values, "pushOrderCount");
            return (Criteria) this;
        }

        public Criteria andPushOrderCountNotIn(List<Integer> values) {
            addCriterion("push_order_count not in", values, "pushOrderCount");
            return (Criteria) this;
        }

        public Criteria andPushOrderCountBetween(Integer value1, Integer value2) {
            addCriterion("push_order_count between", value1, value2, "pushOrderCount");
            return (Criteria) this;
        }

        public Criteria andPushOrderCountNotBetween(Integer value1, Integer value2) {
            addCriterion("push_order_count not between", value1, value2, "pushOrderCount");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}